import requests

response = requests.get("https://www.ptpress.com.cn/")
response.encoding = "utf-8"
with open("1.html","w+",encoding="utf-8") as f:
    f.write(response.text)